package com.ruoyi.kong.service;

import com.ruoyi.kong.entity.KongEntity;
import com.ruoyi.kong.entity.KongRoute;
import com.ruoyi.kong.entity.KongRouteVo;
import feign.Param;

/**
 * 路由信息 服务层 接口
 */
public interface IKongRouteInfoService {

    /**
     * 返回所有路由信息
     * @return
     */
    KongEntity<KongRoute> getRouteList();

    KongRoute addRoute(KongRoute kongRoute);

    void deleteRoute(String routeId);

    KongEntity<KongRoute> routeByServiceId( String serviceId);

    KongRoute routeById(String routeId);

    KongRoute updateRoute(String routeId, KongRouteVo kongRoute);
}
